﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Globalization;

namespace Remember
{
    public class Date
    {
        private DateTime value;

        public Date(string date)
        {
            Value = DateTime.Now;
            string dateTime = date + " 12:00:00";
            DateTime.TryParseExact(date, "yyyy-MM-ddTHH:mm:ss", CultureInfo.CurrentCulture, DateTimeStyles.None, out value);
        }

        public DateTime Value
        {
            get { return value; }
            set
            {
                if (this.value == value)
                    return;
                this.value = value;
            }
        }

        public bool IsUpcoming()
        {
            return true;
        }


    }
}
